
package org.xteam.box2text.parser.ast;

import org.xteam.parser.runtime.Span;

public class Option extends org.xteam.parser.runtime.AstNode {
	
	
	protected Ident name;
	protected Value value;
	
	public Option(Span span, Ident name,Value value) {
		super(span);
		this.name = name;
		this.value = value;
	}
	
	
	public Ident getName() {
		return name;
	}
	
	public void setName(Ident name) {
		this.name = name;
	}
	
	public Value getValue() {
		return value;
	}
	
	public void setValue(Value value) {
		this.value = value;
	}
	

	public void visit(IBoxVisitor visitor) {
		visitor.visitOption(this);
	}
}
